package org.jeecg.modules.wlhy.shipping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@TableName("hy_shipping_park_report")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_shipping_park_report对象", description="运单园区上报表")
public class HyShippingParkReport implements Serializable {

    /**id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;

    /**运单ID*/
    @ApiModelProperty(value = "运单Id")
    private String shippingId;

    /**运单号*/
    @ApiModelProperty(value = "运单号")
    private String shippingNoteNumber;

    @ApiModelProperty(value = "上报类型 0无 100中交园区")
    private Integer reportPlatformType;

    /**运单园区上报状态(0未上传 1上传成功 2上传失败)*/
    @ApiModelProperty(value = "监管上报状态(0未上传 1上传成功 2上传失败)")
    private String uploadStatus;

    /**运单园区上报时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "监管上报时间")
    private java.util.Date uploadDate;

    /**资金流水园区上报状态(0未上传 1上传成功 2上传失败)*/
    @ApiModelProperty(value = "监管上报状态(0未上传 1上传成功 2上传失败)")
    private String zjUploadStatus;

    /**资金流水园区上报时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "监管上报时间")
    private java.util.Date zjUploadDate;

    @ApiModelProperty(value = "失败原因")
    private String failureReason;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

    @ApiModelProperty(value = "园区申诉状态")
    private String appealStatus;

    @ApiModelProperty(value = "园区申诉理由")
    private String appealReason;

    @ApiModelProperty(value = "园区申诉时间")
    private java.util.Date appealDate;

}
